{ "clientLibrary": { "name": "cloud.google.com/go/eventarc/apiv1", "version": "1.16.0", "language": "GO", "apis": [ { "id": "google.cloud.eventarc.v1", "version": "v1" } ] }, "snippets": [ { "regionTag": "eventarc_v1_generated_Eventarc_CancelOperation_sync", "title": "eventarc CancelOperation Sample", "description": "CancelOperation is a utility method from google.longrunning.Operations.", "file": "Client/CancelOperation/main.go", "language": "GO", "clientMethod": { "shortName": "CancelOperation", "fullName": "google.cloud.eventarc.v1.Client.CancelOperation", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "longrunningpb.CancelOperationRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "CancelOperation", "fullName": "google.longrunning.Operations.CancelOperation", "service": { "shortName": "Operations", "fullName": "google.longrunning.Operations" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 51, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_CreateChannel_sync", "title": "eventarc CreateChannel Sample", "description": "CreateChannel create a new channel in a particular project and location.", "file": "Client/CreateChannel/main.go", "language": "GO", "clientMethod": { "shortName": "CreateChannel", "fullName": "google.cloud.eventarc.v1.Client.CreateChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.CreateChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "CreateChannelOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "CreateChannel", "fullName": "google.cloud.eventarc.v1.Eventarc.CreateChannel", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_CreateChannelConnection_sync", "title": "eventarc CreateChannelConnection Sample", "description": "CreateChannelConnection create a new ChannelConnection in a particular project and location.", "file": "Client/CreateChannelConnection/main.go", "language": "GO", "clientMethod": { "shortName": "CreateChannelConnection", "fullName": "google.cloud.eventarc.v1.Client.CreateChannelConnection", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.CreateChannelConnectionRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "CreateChannelConnectionOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "CreateChannelConnection", "fullName": "google.cloud.eventarc.v1.Eventarc.CreateChannelConnection", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_CreateEnrollment_sync", "title": "eventarc CreateEnrollment Sample", "description": "CreateEnrollment create a new Enrollment in a particular project and location.", "file": "Client/CreateEnrollment/main.go", "language": "GO", "clientMethod": { "shortName": "CreateEnrollment", "fullName": "google.cloud.eventarc.v1.Client.CreateEnrollment", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.CreateEnrollmentRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "CreateEnrollmentOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "CreateEnrollment", "fullName": "google.cloud.eventarc.v1.Eventarc.CreateEnrollment", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_CreateGoogleApiSource_sync", "title": "eventarc CreateGoogleApiSource Sample", "description": "CreateGoogleApiSource create a new GoogleApiSource in a particular project and location.", "file": "Client/CreateGoogleApiSource/main.go", "language": "GO", "clientMethod": { "shortName": "CreateGoogleApiSource", "fullName": "google.cloud.eventarc.v1.Client.CreateGoogleApiSource", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.CreateGoogleApiSourceRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "CreateGoogleApiSourceOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "CreateGoogleApiSource", "fullName": "google.cloud.eventarc.v1.Eventarc.CreateGoogleApiSource", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_CreateMessageBus_sync", "title": "eventarc CreateMessageBus Sample", "description": "CreateMessageBus create a new MessageBus in a particular project and location.", "file": "Client/CreateMessageBus/main.go", "language": "GO", "clientMethod": { "shortName": "CreateMessageBus", "fullName": "google.cloud.eventarc.v1.Client.CreateMessageBus", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.CreateMessageBusRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "CreateMessageBusOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "CreateMessageBus", "fullName": "google.cloud.eventarc.v1.Eventarc.CreateMessageBus", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_CreatePipeline_sync", "title": "eventarc CreatePipeline Sample", "description": "CreatePipeline create a new Pipeline in a particular project and location.", "file": "Client/CreatePipeline/main.go", "language": "GO", "clientMethod": { "shortName": "CreatePipeline", "fullName": "google.cloud.eventarc.v1.Client.CreatePipeline", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.CreatePipelineRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "CreatePipelineOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "CreatePipeline", "fullName": "google.cloud.eventarc.v1.Eventarc.CreatePipeline", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_CreateTrigger_sync", "title": "eventarc CreateTrigger Sample", "description": "CreateTrigger create a new trigger in a particular project and location.", "file": "Client/CreateTrigger/main.go", "language": "GO", "clientMethod": { "shortName": "CreateTrigger", "fullName": "google.cloud.eventarc.v1.Client.CreateTrigger", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.CreateTriggerRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "CreateTriggerOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "CreateTrigger", "fullName": "google.cloud.eventarc.v1.Eventarc.CreateTrigger", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_DeleteChannel_sync", "title": "eventarc DeleteChannel Sample", "description": "DeleteChannel delete a single channel.", "file": "Client/DeleteChannel/main.go", "language": "GO", "clientMethod": { "shortName": "DeleteChannel", "fullName": "google.cloud.eventarc.v1.Client.DeleteChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.DeleteChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "DeleteChannelOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "DeleteChannel", "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteChannel", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_DeleteChannelConnection_sync", "title": "eventarc DeleteChannelConnection Sample", "description": "DeleteChannelConnection delete a single ChannelConnection.", "file": "Client/DeleteChannelConnection/main.go", "language": "GO", "clientMethod": { "shortName": "DeleteChannelConnection", "fullName": "google.cloud.eventarc.v1.Client.DeleteChannelConnection", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.DeleteChannelConnectionRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "DeleteChannelConnectionOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "DeleteChannelConnection", "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteChannelConnection", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_DeleteEnrollment_sync", "title": "eventarc DeleteEnrollment Sample", "description": "DeleteEnrollment delete a single Enrollment.", "file": "Client/DeleteEnrollment/main.go", "language": "GO", "clientMethod": { "shortName": "DeleteEnrollment", "fullName": "google.cloud.eventarc.v1.Client.DeleteEnrollment", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.DeleteEnrollmentRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "DeleteEnrollmentOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "DeleteEnrollment", "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteEnrollment", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_DeleteGoogleApiSource_sync", "title": "eventarc DeleteGoogleApiSource Sample", "description": "DeleteGoogleApiSource delete a single GoogleApiSource.", "file": "Client/DeleteGoogleApiSource/main.go", "language": "GO", "clientMethod": { "shortName": "DeleteGoogleApiSource", "fullName": "google.cloud.eventarc.v1.Client.DeleteGoogleApiSource", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.DeleteGoogleApiSourceRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "DeleteGoogleApiSourceOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "DeleteGoogleApiSource", "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteGoogleApiSource", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_DeleteMessageBus_sync", "title": "eventarc DeleteMessageBus Sample", "description": "DeleteMessageBus delete a single message bus.", "file": "Client/DeleteMessageBus/main.go", "language": "GO", "clientMethod": { "shortName": "DeleteMessageBus", "fullName": "google.cloud.eventarc.v1.Client.DeleteMessageBus", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.DeleteMessageBusRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "DeleteMessageBusOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "DeleteMessageBus", "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteMessageBus", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_DeleteOperation_sync", "title": "eventarc DeleteOperation Sample", "description": "DeleteOperation is a utility method from google.longrunning.Operations.", "file": "Client/DeleteOperation/main.go", "language": "GO", "clientMethod": { "shortName": "DeleteOperation", "fullName": "google.cloud.eventarc.v1.Client.DeleteOperation", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "longrunningpb.DeleteOperationRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "DeleteOperation", "fullName": "google.longrunning.Operations.DeleteOperation", "service": { "shortName": "Operations", "fullName": "google.longrunning.Operations" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 51, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_DeletePipeline_sync", "title": "eventarc DeletePipeline Sample", "description": "DeletePipeline delete a single pipeline.", "file": "Client/DeletePipeline/main.go", "language": "GO", "clientMethod": { "shortName": "DeletePipeline", "fullName": "google.cloud.eventarc.v1.Client.DeletePipeline", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.DeletePipelineRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "DeletePipelineOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "DeletePipeline", "fullName": "google.cloud.eventarc.v1.Eventarc.DeletePipeline", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_DeleteTrigger_sync", "title": "eventarc DeleteTrigger Sample", "description": "DeleteTrigger delete a single trigger.", "file": "Client/DeleteTrigger/main.go", "language": "GO", "clientMethod": { "shortName": "DeleteTrigger", "fullName": "google.cloud.eventarc.v1.Client.DeleteTrigger", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.DeleteTriggerRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "DeleteTriggerOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "DeleteTrigger", "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteTrigger", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_GetChannel_sync", "title": "eventarc GetChannel Sample", "description": "GetChannel get a single Channel.", "file": "Client/GetChannel/main.go", "language": "GO", "clientMethod": { "shortName": "GetChannel", "fullName": "google.cloud.eventarc.v1.Client.GetChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.GetChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*eventarcpb.Channel", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "GetChannel", "fullName": "google.cloud.eventarc.v1.Eventarc.GetChannel", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_GetChannelConnection_sync", "title": "eventarc GetChannelConnection Sample", "description": "GetChannelConnection get a single ChannelConnection.", "file": "Client/GetChannelConnection/main.go", "language": "GO", "clientMethod": { "shortName": "GetChannelConnection", "fullName": "google.cloud.eventarc.v1.Client.GetChannelConnection", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.GetChannelConnectionRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*eventarcpb.ChannelConnection", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "GetChannelConnection", "fullName": "google.cloud.eventarc.v1.Eventarc.GetChannelConnection", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_GetEnrollment_sync", "title": "eventarc GetEnrollment Sample", "description": "GetEnrollment get a single Enrollment.", "file": "Client/GetEnrollment/main.go", "language": "GO", "clientMethod": { "shortName": "GetEnrollment", "fullName": "google.cloud.eventarc.v1.Client.GetEnrollment", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.GetEnrollmentRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*eventarcpb.Enrollment", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "GetEnrollment", "fullName": "google.cloud.eventarc.v1.Eventarc.GetEnrollment", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_GetGoogleApiSource_sync", "title": "eventarc GetGoogleApiSource Sample", "description": "GetGoogleApiSource get a single GoogleApiSource.", "file": "Client/GetGoogleApiSource/main.go", "language": "GO", "clientMethod": { "shortName": "GetGoogleApiSource", "fullName": "google.cloud.eventarc.v1.Client.GetGoogleApiSource", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.GetGoogleApiSourceRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*eventarcpb.GoogleApiSource", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "GetGoogleApiSource", "fullName": "google.cloud.eventarc.v1.Eventarc.GetGoogleApiSource", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_GetGoogleChannelConfig_sync", "title": "eventarc GetGoogleChannelConfig Sample", "description": "GetGoogleChannelConfig get a GoogleChannelConfig.\nThe name of the GoogleChannelConfig in the response is ALWAYS coded with\nprojectID.", "file": "Client/GetGoogleChannelConfig/main.go", "language": "GO", "clientMethod": { "shortName": "GetGoogleChannelConfig", "fullName": "google.cloud.eventarc.v1.Client.GetGoogleChannelConfig", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.GetGoogleChannelConfigRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*eventarcpb.GoogleChannelConfig", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "GetGoogleChannelConfig", "fullName": "google.cloud.eventarc.v1.Eventarc.GetGoogleChannelConfig", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_GetIamPolicy_sync", "title": "eventarc GetIamPolicy Sample", "description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.", "file": "Client/GetIamPolicy/main.go", "language": "GO", "clientMethod": { "shortName": "GetIamPolicy", "fullName": "google.cloud.eventarc.v1.Client.GetIamPolicy", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "iampb.GetIamPolicyRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*iampb.Policy", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "GetIamPolicy", "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy", "service": { "shortName": "IAMPolicy", "fullName": "google.iam.v1.IAMPolicy" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_GetLocation_sync", "title": "eventarc GetLocation Sample", "description": "GetLocation gets information about a location.", "file": "Client/GetLocation/main.go", "language": "GO", "clientMethod": { "shortName": "GetLocation", "fullName": "google.cloud.eventarc.v1.Client.GetLocation", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "locationpb.GetLocationRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*locationpb.Location", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "GetLocation", "fullName": "google.cloud.location.Locations.GetLocation", "service": { "shortName": "Locations", "fullName": "google.cloud.location.Locations" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_GetMessageBus_sync", "title": "eventarc GetMessageBus Sample", "description": "GetMessageBus get a single MessageBus.", "file": "Client/GetMessageBus/main.go", "language": "GO", "clientMethod": { "shortName": "GetMessageBus", "fullName": "google.cloud.eventarc.v1.Client.GetMessageBus", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.GetMessageBusRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*eventarcpb.MessageBus", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "GetMessageBus", "fullName": "google.cloud.eventarc.v1.Eventarc.GetMessageBus", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_GetOperation_sync", "title": "eventarc GetOperation Sample", "description": "GetOperation is a utility method from google.longrunning.Operations.", "file": "Client/GetOperation/main.go", "language": "GO", "clientMethod": { "shortName": "GetOperation", "fullName": "google.cloud.eventarc.v1.Client.GetOperation", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "longrunningpb.GetOperationRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*longrunningpb.Operation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "GetOperation", "fullName": "google.longrunning.Operations.GetOperation", "service": { "shortName": "Operations", "fullName": "google.longrunning.Operations" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_GetPipeline_sync", "title": "eventarc GetPipeline Sample", "description": "GetPipeline get a single Pipeline.", "file": "Client/GetPipeline/main.go", "language": "GO", "clientMethod": { "shortName": "GetPipeline", "fullName": "google.cloud.eventarc.v1.Client.GetPipeline", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.GetPipelineRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*eventarcpb.Pipeline", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "GetPipeline", "fullName": "google.cloud.eventarc.v1.Eventarc.GetPipeline", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_GetProvider_sync", "title": "eventarc GetProvider Sample", "description": "GetProvider get a single Provider.", "file": "Client/GetProvider/main.go", "language": "GO", "clientMethod": { "shortName": "GetProvider", "fullName": "google.cloud.eventarc.v1.Client.GetProvider", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.GetProviderRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*eventarcpb.Provider", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "GetProvider", "fullName": "google.cloud.eventarc.v1.Eventarc.GetProvider", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_GetTrigger_sync", "title": "eventarc GetTrigger Sample", "description": "GetTrigger get a single trigger.", "file": "Client/GetTrigger/main.go", "language": "GO", "clientMethod": { "shortName": "GetTrigger", "fullName": "google.cloud.eventarc.v1.Client.GetTrigger", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.GetTriggerRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*eventarcpb.Trigger", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "GetTrigger", "fullName": "google.cloud.eventarc.v1.Eventarc.GetTrigger", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_ListChannelConnections_sync", "title": "eventarc ListChannelConnections Sample", "description": "ListChannelConnections list channel connections.", "file": "Client/ListChannelConnections/main.go", "language": "GO", "clientMethod": { "shortName": "ListChannelConnections", "fullName": "google.cloud.eventarc.v1.Client.ListChannelConnections", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.ListChannelConnectionsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "ChannelConnectionIterator", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "ListChannelConnections", "fullName": "google.cloud.eventarc.v1.Eventarc.ListChannelConnections", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_ListChannels_sync", "title": "eventarc ListChannels Sample", "description": "ListChannels list channels.", "file": "Client/ListChannels/main.go", "language": "GO", "clientMethod": { "shortName": "ListChannels", "fullName": "google.cloud.eventarc.v1.Client.ListChannels", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.ListChannelsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "ChannelIterator", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "ListChannels", "fullName": "google.cloud.eventarc.v1.Eventarc.ListChannels", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_ListEnrollments_sync", "title": "eventarc ListEnrollments Sample", "description": "ListEnrollments list Enrollments.", "file": "Client/ListEnrollments/main.go", "language": "GO", "clientMethod": { "shortName": "ListEnrollments", "fullName": "google.cloud.eventarc.v1.Client.ListEnrollments", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.ListEnrollmentsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "EnrollmentIterator", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "ListEnrollments", "fullName": "google.cloud.eventarc.v1.Eventarc.ListEnrollments", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_ListGoogleApiSources_sync", "title": "eventarc ListGoogleApiSources Sample", "description": "ListGoogleApiSources list GoogleApiSources.", "file": "Client/ListGoogleApiSources/main.go", "language": "GO", "clientMethod": { "shortName": "ListGoogleApiSources", "fullName": "google.cloud.eventarc.v1.Client.ListGoogleApiSources", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.ListGoogleApiSourcesRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "GoogleApiSourceIterator", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "ListGoogleApiSources", "fullName": "google.cloud.eventarc.v1.Eventarc.ListGoogleApiSources", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_ListLocations_sync", "title": "eventarc ListLocations Sample", "description": "ListLocations lists information about the supported locations for this service.", "file": "Client/ListLocations/main.go", "language": "GO", "clientMethod": { "shortName": "ListLocations", "fullName": "google.cloud.eventarc.v1.Client.ListLocations", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "locationpb.ListLocationsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "LocationIterator", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "ListLocations", "fullName": "google.cloud.location.Locations.ListLocations", "service": { "shortName": "Locations", "fullName": "google.cloud.location.Locations" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_ListMessageBusEnrollments_sync", "title": "eventarc ListMessageBusEnrollments Sample", "description": "ListMessageBusEnrollments list message bus enrollments.", "file": "Client/ListMessageBusEnrollments/main.go", "language": "GO", "clientMethod": { "shortName": "ListMessageBusEnrollments", "fullName": "google.cloud.eventarc.v1.Client.ListMessageBusEnrollments", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.ListMessageBusEnrollmentsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "StringIterator", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "ListMessageBusEnrollments", "fullName": "google.cloud.eventarc.v1.Eventarc.ListMessageBusEnrollments", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_ListMessageBuses_sync", "title": "eventarc ListMessageBuses Sample", "description": "ListMessageBuses list message buses.", "file": "Client/ListMessageBuses/main.go", "language": "GO", "clientMethod": { "shortName": "ListMessageBuses", "fullName": "google.cloud.eventarc.v1.Client.ListMessageBuses", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.ListMessageBusesRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "MessageBusIterator", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "ListMessageBuses", "fullName": "google.cloud.eventarc.v1.Eventarc.ListMessageBuses", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_ListOperations_sync", "title": "eventarc ListOperations Sample", "description": "ListOperations is a utility method from google.longrunning.Operations.", "file": "Client/ListOperations/main.go", "language": "GO", "clientMethod": { "shortName": "ListOperations", "fullName": "google.cloud.eventarc.v1.Client.ListOperations", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "longrunningpb.ListOperationsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "OperationIterator", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "ListOperations", "fullName": "google.longrunning.Operations.ListOperations", "service": { "shortName": "Operations", "fullName": "google.longrunning.Operations" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_ListPipelines_sync", "title": "eventarc ListPipelines Sample", "description": "ListPipelines list pipelines.", "file": "Client/ListPipelines/main.go", "language": "GO", "clientMethod": { "shortName": "ListPipelines", "fullName": "google.cloud.eventarc.v1.Client.ListPipelines", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.ListPipelinesRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "PipelineIterator", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "ListPipelines", "fullName": "google.cloud.eventarc.v1.Eventarc.ListPipelines", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_ListProviders_sync", "title": "eventarc ListProviders Sample", "description": "ListProviders list providers.", "file": "Client/ListProviders/main.go", "language": "GO", "clientMethod": { "shortName": "ListProviders", "fullName": "google.cloud.eventarc.v1.Client.ListProviders", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.ListProvidersRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "ProviderIterator", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "ListProviders", "fullName": "google.cloud.eventarc.v1.Eventarc.ListProviders", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_ListTriggers_sync", "title": "eventarc ListTriggers Sample", "description": "ListTriggers list triggers.", "file": "Client/ListTriggers/main.go", "language": "GO", "clientMethod": { "shortName": "ListTriggers", "fullName": "google.cloud.eventarc.v1.Client.ListTriggers", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.ListTriggersRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "TriggerIterator", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "ListTriggers", "fullName": "google.cloud.eventarc.v1.Eventarc.ListTriggers", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 66, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_SetIamPolicy_sync", "title": "eventarc SetIamPolicy Sample", "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.", "file": "Client/SetIamPolicy/main.go", "language": "GO", "clientMethod": { "shortName": "SetIamPolicy", "fullName": "google.cloud.eventarc.v1.Client.SetIamPolicy", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "iampb.SetIamPolicyRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*iampb.Policy", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "SetIamPolicy", "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy", "service": { "shortName": "IAMPolicy", "fullName": "google.iam.v1.IAMPolicy" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_TestIamPermissions_sync", "title": "eventarc TestIamPermissions Sample", "description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.", "file": "Client/TestIamPermissions/main.go", "language": "GO", "clientMethod": { "shortName": "TestIamPermissions", "fullName": "google.cloud.eventarc.v1.Client.TestIamPermissions", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "iampb.TestIamPermissionsRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*iampb.TestIamPermissionsResponse", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "TestIamPermissions", "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions", "service": { "shortName": "IAMPolicy", "fullName": "google.iam.v1.IAMPolicy" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_UpdateChannel_sync", "title": "eventarc UpdateChannel Sample", "description": "UpdateChannel update a single channel.", "file": "Client/UpdateChannel/main.go", "language": "GO", "clientMethod": { "shortName": "UpdateChannel", "fullName": "google.cloud.eventarc.v1.Client.UpdateChannel", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.UpdateChannelRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "UpdateChannelOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "UpdateChannel", "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateChannel", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_UpdateEnrollment_sync", "title": "eventarc UpdateEnrollment Sample", "description": "UpdateEnrollment update a single Enrollment.", "file": "Client/UpdateEnrollment/main.go", "language": "GO", "clientMethod": { "shortName": "UpdateEnrollment", "fullName": "google.cloud.eventarc.v1.Client.UpdateEnrollment", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.UpdateEnrollmentRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "UpdateEnrollmentOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "UpdateEnrollment", "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateEnrollment", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_UpdateGoogleApiSource_sync", "title": "eventarc UpdateGoogleApiSource Sample", "description": "UpdateGoogleApiSource update a single GoogleApiSource.", "file": "Client/UpdateGoogleApiSource/main.go", "language": "GO", "clientMethod": { "shortName": "UpdateGoogleApiSource", "fullName": "google.cloud.eventarc.v1.Client.UpdateGoogleApiSource", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.UpdateGoogleApiSourceRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "UpdateGoogleApiSourceOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "UpdateGoogleApiSource", "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateGoogleApiSource", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_UpdateGoogleChannelConfig_sync", "title": "eventarc UpdateGoogleChannelConfig Sample", "description": "UpdateGoogleChannelConfig update a single GoogleChannelConfig", "file": "Client/UpdateGoogleChannelConfig/main.go", "language": "GO", "clientMethod": { "shortName": "UpdateGoogleChannelConfig", "fullName": "google.cloud.eventarc.v1.Client.UpdateGoogleChannelConfig", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.UpdateGoogleChannelConfigRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "*eventarcpb.GoogleChannelConfig", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "UpdateGoogleChannelConfig", "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateGoogleChannelConfig", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 53, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_UpdateMessageBus_sync", "title": "eventarc UpdateMessageBus Sample", "description": "UpdateMessageBus update a single message bus.", "file": "Client/UpdateMessageBus/main.go", "language": "GO", "clientMethod": { "shortName": "UpdateMessageBus", "fullName": "google.cloud.eventarc.v1.Client.UpdateMessageBus", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.UpdateMessageBusRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "UpdateMessageBusOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "UpdateMessageBus", "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateMessageBus", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_UpdatePipeline_sync", "title": "eventarc UpdatePipeline Sample", "description": "UpdatePipeline update a single pipeline.", "file": "Client/UpdatePipeline/main.go", "language": "GO", "clientMethod": { "shortName": "UpdatePipeline", "fullName": "google.cloud.eventarc.v1.Client.UpdatePipeline", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.UpdatePipelineRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "UpdatePipelineOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "UpdatePipeline", "fullName": "google.cloud.eventarc.v1.Eventarc.UpdatePipeline", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] }, { "regionTag": "eventarc_v1_generated_Eventarc_UpdateTrigger_sync", "title": "eventarc UpdateTrigger Sample", "description": "UpdateTrigger update a single trigger.", "file": "Client/UpdateTrigger/main.go", "language": "GO", "clientMethod": { "shortName": "UpdateTrigger", "fullName": "google.cloud.eventarc.v1.Client.UpdateTrigger", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "eventarcpb.UpdateTriggerRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "UpdateTriggerOperation", "client": { "shortName": "Client", "fullName": "google.cloud.eventarc.v1.Client" }, "method": { "shortName": "UpdateTrigger", "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateTrigger", "service": { "shortName": "Eventarc", "fullName": "google.cloud.eventarc.v1.Eventarc" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] } ] }