Skip to content

Commit

Permalink
feat: [meet] Add outh_scope values to services (#10401)
Browse files Browse the repository at this point in the history
* feat: Add outh_scope values to services

PiperOrigin-RevId: 607757333

Source-Link: googleapis/googleapis@89ee00d

Source-Link: https://github.com/googleapis/googleapis-gen/commit/3daf4f3296ea518298aac9960eb3bccdc9f69692
Copy-Tag: eyJwIjoiamF2YS1tZWV0Ly5Pd2xCb3QueWFtbCIsImgiOiIzZGFmNGYzMjk2ZWE1MTgyOThhYWM5OTYwZWIzYmNjZGM5ZjY5NjkyIn0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Feb 18, 2024
1 parent 75cfdd4 commit e8ae38e
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ public class ConferenceRecordsServiceStubSettings
extends StubSettings<ConferenceRecordsServiceStubSettings> {
/** The default scopes of the service. */
private static final ImmutableList<String> DEFAULT_SERVICE_SCOPES =
ImmutableList.<String>builder().build();
ImmutableList.<String>builder()
.add("https://www.googleapis.com/auth/meetings.space.created")
.add("https://www.googleapis.com/auth/meetings.space.readonly")
.build();

private final UnaryCallSettings<GetConferenceRecordRequest, ConferenceRecord>
getConferenceRecordSettings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@
public class SpacesServiceStubSettings extends StubSettings<SpacesServiceStubSettings> {
/** The default scopes of the service. */
private static final ImmutableList<String> DEFAULT_SERVICE_SCOPES =
ImmutableList.<String>builder().build();
ImmutableList.<String>builder()
.add("https://www.googleapis.com/auth/meetings.space.created")
.add("https://www.googleapis.com/auth/meetings.space.readonly")
.build();

private final UnaryCallSettings<CreateSpaceRequest, Space> createSpaceSettings;
private final UnaryCallSettings<GetSpaceRequest, Space> getSpaceSettings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "page_token\030\003 \001(\t\"z\n\035ListTranscriptEntrie"
+ "sResponse\022@\n\022transcript_entries\030\001 \003(\0132$."
+ "google.apps.meet.v2.TranscriptEntry\022\027\n\017n"
+ "ext_page_token\030\002 \001(\t2\277\004\n\rSpacesService\022u"
+ "ext_page_token\030\002 \001(\t2\261\005\n\rSpacesService\022u"
+ "\n\013CreateSpace\022\'.google.apps.meet.v2.Crea"
+ "teSpaceRequest\032\032.google.apps.meet.v2.Spa"
+ "ce\"!\332A\005space\202\323\344\223\002\023\"\n/v2/spaces:\005space\022p\n"
Expand All @@ -204,66 +204,72 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ce\022/.google.apps.meet.v2.EndActiveConfer"
+ "enceRequest\032\026.google.protobuf.Empty\"9\332A\004"
+ "name\202\323\344\223\002,\"\'/v2/{name=spaces/*}:endActiv"
+ "eConference:\001*\032\026\312A\023meet.googleapis.com2\361"
+ "\020\n\030ConferenceRecordsService\022\234\001\n\023GetConfe"
+ "renceRecord\022/.google.apps.meet.v2.GetCon"
+ "ferenceRecordRequest\032%.google.apps.meet."
+ "v2.ConferenceRecord\"-\332A\004name\202\323\344\223\002 \022\036/v2/"
+ "{name=conferenceRecords/*}\022\235\001\n\025ListConfe"
+ "renceRecords\0221.google.apps.meet.v2.ListC"
+ "onferenceRecordsRequest\0322.google.apps.me"
+ "et.v2.ListConferenceRecordsResponse\"\035\202\323\344"
+ "\223\002\027\022\025/v2/conferenceRecords\022\234\001\n\016GetPartic"
+ "ipant\022*.google.apps.meet.v2.GetParticipa"
+ "ntRequest\032 .google.apps.meet.v2.Particip"
+ "ant\"<\332A\004name\202\323\344\223\002/\022-/v2/{name=conference"
+ "Records/*/participants/*}\022\257\001\n\020ListPartic"
+ "ipants\022,.google.apps.meet.v2.ListPartici"
+ "pantsRequest\032-.google.apps.meet.v2.ListP"
+ "articipantsResponse\">\332A\006parent\202\323\344\223\002/\022-/v"
+ "2/{parent=conferenceRecords/*}/participa"
+ "nts\022\307\001\n\025GetParticipantSession\0221.google.a"
+ "pps.meet.v2.GetParticipantSessionRequest"
+ "\032\'.google.apps.meet.v2.ParticipantSessio"
+ "n\"R\332A\004name\202\323\344\223\002E\022C/v2/{name=conferenceRe"
+ "cords/*/participants/*/participantSessio"
+ "ns/*}\022\332\001\n\027ListParticipantSessions\0223.goog"
+ "le.apps.meet.v2.ListParticipantSessionsR"
+ "equest\0324.google.apps.meet.v2.ListPartici"
+ "pantSessionsResponse\"T\332A\006parent\202\323\344\223\002E\022C/"
+ "v2/{parent=conferenceRecords/*/participa"
+ "nts/*}/participantSessions\022\224\001\n\014GetRecord"
+ "ing\022(.google.apps.meet.v2.GetRecordingRe"
+ "quest\032\036.google.apps.meet.v2.Recording\":\332"
+ "A\004name\202\323\344\223\002-\022+/v2/{name=conferenceRecord"
+ "s/*/recordings/*}\022\247\001\n\016ListRecordings\022*.g"
+ "oogle.apps.meet.v2.ListRecordingsRequest"
+ "\032+.google.apps.meet.v2.ListRecordingsRes"
+ "ponse\"<\332A\006parent\202\323\344\223\002-\022+/v2/{parent=conf"
+ "erenceRecords/*}/recordings\022\230\001\n\rGetTrans"
+ "cript\022).google.apps.meet.v2.GetTranscrip"
+ "tRequest\032\037.google.apps.meet.v2.Transcrip"
+ "t\";\332A\004name\202\323\344\223\002.\022,/v2/{name=conferenceRe"
+ "cords/*/transcripts/*}\022\253\001\n\017ListTranscrip"
+ "ts\022+.google.apps.meet.v2.ListTranscripts"
+ "Request\032,.google.apps.meet.v2.ListTransc"
+ "riptsResponse\"=\332A\006parent\202\323\344\223\002.\022,/v2/{par"
+ "ent=conferenceRecords/*}/transcripts\022\261\001\n"
+ "\022GetTranscriptEntry\022..google.apps.meet.v"
+ "2.GetTranscriptEntryRequest\032$.google.app"
+ "s.meet.v2.TranscriptEntry\"E\332A\004name\202\323\344\223\0028"
+ "\0226/v2/{name=conferenceRecords/*/transcri"
+ "pts/*/entries/*}\022\307\001\n\025ListTranscriptEntri"
+ "es\0221.google.apps.meet.v2.ListTranscriptE"
+ "ntriesRequest\0322.google.apps.meet.v2.List"
+ "TranscriptEntriesResponse\"G\332A\006parent\202\323\344\223"
+ "\0028\0226/v2/{parent=conferenceRecords/*/tran"
+ "scripts/*}/entries\032\026\312A\023meet.googleapis.c"
+ "omB\241\001\n\027com.google.apps.meet.v2B\014ServiceP"
+ "rotoP\001Z1cloud.google.com/go/apps/meet/ap"
+ "iv2/meetpb;meetpb\252\002\023Google.Apps.Meet.V2\312"
+ "\002\023Google\\Apps\\Meet\\V2\352\002\026Google::Apps::Me"
+ "et::V2b\006proto3"
+ "eConference:\001*\032\207\001\312A\023meet.googleapis.com\322"
+ "Anhttps://www.googleapis.com/auth/meetin"
+ "gs.space.created,https://www.googleapis."
+ "com/auth/meetings.space.readonly2\343\021\n\030Con"
+ "ferenceRecordsService\022\234\001\n\023GetConferenceR"
+ "ecord\022/.google.apps.meet.v2.GetConferenc"
+ "eRecordRequest\032%.google.apps.meet.v2.Con"
+ "ferenceRecord\"-\332A\004name\202\323\344\223\002 \022\036/v2/{name="
+ "conferenceRecords/*}\022\235\001\n\025ListConferenceR"
+ "ecords\0221.google.apps.meet.v2.ListConfere"
+ "nceRecordsRequest\0322.google.apps.meet.v2."
+ "ListConferenceRecordsResponse\"\035\202\323\344\223\002\027\022\025/"
+ "v2/conferenceRecords\022\234\001\n\016GetParticipant\022"
+ "*.google.apps.meet.v2.GetParticipantRequ"
+ "est\032 .google.apps.meet.v2.Participant\"<\332"
+ "A\004name\202\323\344\223\002/\022-/v2/{name=conferenceRecord"
+ "s/*/participants/*}\022\257\001\n\020ListParticipants"
+ "\022,.google.apps.meet.v2.ListParticipantsR"
+ "equest\032-.google.apps.meet.v2.ListPartici"
+ "pantsResponse\">\332A\006parent\202\323\344\223\002/\022-/v2/{par"
+ "ent=conferenceRecords/*}/participants\022\307\001"
+ "\n\025GetParticipantSession\0221.google.apps.me"
+ "et.v2.GetParticipantSessionRequest\032\'.goo"
+ "gle.apps.meet.v2.ParticipantSession\"R\332A\004"
+ "name\202\323\344\223\002E\022C/v2/{name=conferenceRecords/"
+ "*/participants/*/participantSessions/*}\022"
+ "\332\001\n\027ListParticipantSessions\0223.google.app"
+ "s.meet.v2.ListParticipantSessionsRequest"
+ "\0324.google.apps.meet.v2.ListParticipantSe"
+ "ssionsResponse\"T\332A\006parent\202\323\344\223\002E\022C/v2/{pa"
+ "rent=conferenceRecords/*/participants/*}"
+ "/participantSessions\022\224\001\n\014GetRecording\022(."
+ "google.apps.meet.v2.GetRecordingRequest\032"
+ "\036.google.apps.meet.v2.Recording\":\332A\004name"
+ "\202\323\344\223\002-\022+/v2/{name=conferenceRecords/*/re"
+ "cordings/*}\022\247\001\n\016ListRecordings\022*.google."
+ "apps.meet.v2.ListRecordingsRequest\032+.goo"
+ "gle.apps.meet.v2.ListRecordingsResponse\""
+ "<\332A\006parent\202\323\344\223\002-\022+/v2/{parent=conference"
+ "Records/*}/recordings\022\230\001\n\rGetTranscript\022"
+ ").google.apps.meet.v2.GetTranscriptReque"
+ "st\032\037.google.apps.meet.v2.Transcript\";\332A\004"
+ "name\202\323\344\223\002.\022,/v2/{name=conferenceRecords/"
+ "*/transcripts/*}\022\253\001\n\017ListTranscripts\022+.g"
+ "oogle.apps.meet.v2.ListTranscriptsReques"
+ "t\032,.google.apps.meet.v2.ListTranscriptsR"
+ "esponse\"=\332A\006parent\202\323\344\223\002.\022,/v2/{parent=co"
+ "nferenceRecords/*}/transcripts\022\261\001\n\022GetTr"
+ "anscriptEntry\022..google.apps.meet.v2.GetT"
+ "ranscriptEntryRequest\032$.google.apps.meet"
+ ".v2.TranscriptEntry\"E\332A\004name\202\323\344\223\0028\0226/v2/"
+ "{name=conferenceRecords/*/transcripts/*/"
+ "entries/*}\022\307\001\n\025ListTranscriptEntries\0221.g"
+ "oogle.apps.meet.v2.ListTranscriptEntries"
+ "Request\0322.google.apps.meet.v2.ListTransc"
+ "riptEntriesResponse\"G\332A\006parent\202\323\344\223\0028\0226/v"
+ "2/{parent=conferenceRecords/*/transcript"
+ "s/*}/entries\032\207\001\312A\023meet.googleapis.com\322An"
+ "https://www.googleapis.com/auth/meetings"
+ ".space.created,https://www.googleapis.co"
+ "m/auth/meetings.space.readonlyB\241\001\n\027com.g"
+ "oogle.apps.meet.v2B\014ServiceProtoP\001Z1clou"
+ "d.google.com/go/apps/meet/apiv2/meetpb;m"
+ "eetpb\252\002\023Google.Apps.Meet.V2\312\002\023Google\\App"
+ "s\\Meet\\V2\352\002\026Google::Apps::Meet::V2b\006prot"
+ "o3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down Expand Up @@ -459,6 +465,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
registry.add(com.google.api.AnnotationsProto.http);
registry.add(com.google.api.ClientProto.methodSignature);
registry.add(com.google.api.ClientProto.oauthScopes);
registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ option ruby_package = "Google::Apps::Meet::V2";
// REST API for services dealing with spaces.
service SpacesService {
option (google.api.default_host) = "meet.googleapis.com";
option (google.api.oauth_scopes) =
"https://www.googleapis.com/auth/meetings.space.created,"
"https://www.googleapis.com/auth/meetings.space.readonly";

// Creates a space.
rpc CreateSpace(CreateSpaceRequest) returns (Space) {
Expand Down Expand Up @@ -76,6 +79,9 @@ service SpacesService {
// REST API for services dealing with conference records.
service ConferenceRecordsService {
option (google.api.default_host) = "meet.googleapis.com";
option (google.api.oauth_scopes) =
"https://www.googleapis.com/auth/meetings.space.created,"
"https://www.googleapis.com/auth/meetings.space.readonly";

// Gets a conference record by conference ID.
rpc GetConferenceRecord(GetConferenceRecordRequest)
Expand Down

0 comments on commit e8ae38e

Please sign in to comment.